package com.itcncp.wechat.app.dao.mapper;

import com.itcncp.wechat.app.dao.model.UserOauthInfo;
import com.itcncp.wechat.app.dao.model.UserOauthInfoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserOauthInfoMapper {
    long countByExample(UserOauthInfoExample example);

    int deleteByExample(UserOauthInfoExample example);

    int deleteByPrimaryKey(Long userOauthId);

    int insert(UserOauthInfo record);

    int insertSelective(UserOauthInfo record);

    List<UserOauthInfo> selectByExample(UserOauthInfoExample example);

    UserOauthInfo selectByPrimaryKey(Long userOauthId);

    int updateByExampleSelective(@Param("record") UserOauthInfo record, @Param("example") UserOauthInfoExample example);

    int updateByExample(@Param("record") UserOauthInfo record, @Param("example") UserOauthInfoExample example);

    int updateByPrimaryKeySelective(UserOauthInfo record);

    int updateByPrimaryKey(UserOauthInfo record);
}